.flex_center {
  display: flex;
  justify-content: center;
  align-items: center;
}
// head 部分
.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 1.5rem;
  // background-color: #ccc;
  padding: 0 0.21rem;
  .logo {
    img {
      width: 1.23rem;
    }
  }
  .search {
    position: relative;
    width: 2.7rem;
    height: 0.55rem;
    border: 2px solid #ff9344;
    border-radius: 0.25rem;
    overflow: hidden;
    input {
      width: 100%;
      height: 100%;
      border: none;
      font-size: 0.24rem;
      color: #777;
      padding-left: 0.35rem;
      &::placeholder {
        color: #777;
        font-size: 0.24rem;
      }
    }
    .icon {
      position: absolute;
      top: 50%;
      right: 0.2rem;
      transform: translateY(-50%);
      height: 70%;
    }
  }
  .city {
    width: 1.6rem;
    height: 0.6rem;
    border: 1px solid #ff9344;
    .btn-default {
      width: 100%;
      color: #000;
      font-size: 0.26rem;
      line-height: 0.55rem;
      padding: 0;
      border: none;
      border-radius: 0;
    }
    .caret {
      border-top: 10px dashed #ff9344;
      border-right: 10px solid transparent;
      border-left: 10px solid transparent;
    }
  }
}

// banner 轮播图
.banner {
  width: 100%;
  height: 2.9rem;
  img {
    width: 100%;
  }
}

// discount 优惠团购
.discount {
  width: 100%;
  padding: 0 0.21rem;
  .title_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 0.54rem;
    .left {
      height: 100%;
      .flex_center();
      span {
        font-size: 0.3rem;
      }
      img {
        height: 100%;
      }
    }
    .right {
      height: 100%;
      .flex_center();
      span {
        font-size: 0.24rem;
      }
      img {
        height: 100%;
      }
    }
  }
  .items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: space-between;
    width: 6.5rem;
    height: 2.2rem;
    margin: 0 auto;
    margin-top: 0.12rem;
    .item {
      width: 37%;
      height: 0.95rem;
    }
  }
}
// guess 猜猜你喜欢
.guess {
  width: 100%;
  padding: 0 0.21rem;
  margin-top: 0.36rem;
  .title_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 0.54rem;
    .left {
      height: 100%;
      .flex_center();
      span {
        font-size: 0.3rem;
      }
      img {
        height: 100%;
      }
    }
    .right {
      height: 100%;
      .flex_center();
      span {
        font-size: 0.24rem;
      }
      img {
        height: 100%;
      }
    }
  }
  .item {
    display: block;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 1.65rem;
    margin: 0 auto;
    padding: 0 0.2rem;
    // background-color: #ccc;
    margin-top: 0.3rem;
    .item_img {
      height: 100%;
      img {
        height: 100%;
      }
    }
    .item_msg {
      display: flex;
      justify-content: space-between;
      width: 4.25rem;
      height: 100%;
      padding: 0.2rem 0;
      .left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        p {
          &:nth-of-type(1) {
            font-size: 0.3rem;
          }
          &:nth-of-type(2) {
            font-size: 0.22rem;
            color: #494949;
          }
          &:nth-of-type(3) {
            font-size: 0.32rem;
            color: #ff9344;
          }
        }
      }
      .right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        p {
          color: #494949;
          font-size: 0.22rem;
        }
      }
    }
  }
}
















